<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="pragma" content="no-cache"/>   
<meta http-equiv="Cache-Control" content="no-cache, must-revalidate"/>   
<meta http-equiv="expires" content="0"/>  
<title>招商线索</title>

<link href="css/style.css" rel="stylesheet" type="text/css" />
<link href="css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/jquery.idTabs.min.js"></script>
<script type="text/javascript" src="editor/kindeditor.js"></script>
<script type="text/javascript" src="js/application/clue.js?v=0.8"></script>
<script type="text/javascript" src="js/jquery.form.js"></script>
<script type="text/javascript" src="laydate/laydate5.js"></script>

</head>
<body>
<div class="incList">	
    <div class="place" name="dataList">
        <span>位置：</span>
        <ul class="placeul">
            <li><a href="#">客户线索</a></li>
            <li><a href="/euc/page/clueList.html">招商线索</a></li>
        </ul>
    </div> 
    <div class="formbody" name="dataList">
        <div class="tools">
            <ul class="seachform">                
                <li>
                	<label>意向空间</label>
                    <div class="vocation">
                        <select class="tlselect" name="placeProvinceSelect" id="searchProvince">
                            <option value="0" selected>请选择</option>
                        </select>
                    </div>
				</li>
				<li>
					<div class="vocation">
                        <select class="tlselect" name="placeCitySelect" id="searchCity">
                            <option value="0" selected>请选择</option>
                        </select>
                    </div>
                </li>
				<li>
					<div class="vocation">
                        <select class="tlselect" name="spaceSelect" id="searchSpace">
                            <option value="0" selected>请选择</option>
                        </select>
					</div>
                </li>
            </ul>
        </div>
        <div class="tools">
            <ul class="seachform">
                <li>
                    <label>预约时间</label>
                    <input type="text" name="visitTimeStart" class="tlinput"  id="visitTimeStart1"/>
                </li>
                <li>
                    <label>至 &nbsp;</label>
                    <input type="text" name="visitTimeEnd" class="tlinput" id="visitTimeStart2"/>
                </li> 
                <li><label>&nbsp;</label><input name="btnSerch" onclick="search(1);" type="button" class="scbtn" value="搜索"/></li>
                <li><label>&nbsp;</label><input name="btnClean" id="btnClean" type="button" class="clbtn" value="清空"/></li>
                <li><label>&nbsp;</label><input name="btnClean" data-backdrop="static" data-toggle="modal" data-target="#addModal" type="button" class="clbtn" value="新建"/></li>
            </ul>
        </div>
        <div id="usual1" class="usual">     
            <div id="tab2" class="tabson">    
                <table class="tablelist">
                    <thead>
                        <tr>
                        	<th>序号</th>
                            <th>联系人</th>
                            <th>意向城市</th>
                            <th>意向空间</th>
                            <th>意向产品</th>
                            <th>来源</th>
                            <th>领取人</th>
                            <th>预约到访时间</th>
                            <th>提交时间</th>
                            <th>操作</th>
                        </tr>
                    </thead>
                    <tbody id="userTable">   

                    </tbody>
                </table>
                <div class="pagin">
                    <div class="message">共<i id="totalRow" class="blue">0</i>条记录，每页<i id="pageSize" class="blue">2&nbsp;</i>条记录，当前显示第&nbsp;<i id="currentPage" class="blue">2&nbsp;</i>页</div>
                    <ul class="paginList" ></ul>
                </div>
            </div>
        </div>   
    </div>
    
    
    <div class="place" name="dataForm" style='display:none;'>
	    <span>位置：</span>
		    <ul class="placeul">
		    <li><a href="#">招商管理</a></li>
		    <li><a href="/euc/page/clueList.html">招商线索</a></li>
		    <li><a href="#" id='operator'>编辑</a></li>
	    </ul>
    </div>

    <div class="inbContent" name="dataForm" style='display:none;'>
    	<div class="formtitle"><span>招商线索信息</span></div>
        <div class="inbFormbody">
            <div class="formtitle "><span>线索信息</span></div>
            <div class="formtitle-left ">
                <ul class="forminfo">
                    <li>
                    	<label >联系人<b>*</b></label>
                    	<input name="contact" required='1' message='请输入联系人' formParameter="clue" placeholder="请输入联系人" type="text" class="indinput" />
                    </li>
                    <li>
                    	<label>联系微信</label>
                    	<input name="wechat"  formParameter="clue" placeholder="请输入联系微信" type="text" class="indinput" />
                    </li>
                    <li>
                    	<label>意向省<b>*</b></label>
                        <div class="indCtiy">
                             <select name="provinceId" id="formProvince" required='1' message='请选择意向省' formParameter="clue">
                             	<option selected value="0">请选择</option>
                             </select>
                        </div>
                    </li>
                    <li><label>意向空间<b>*</b></label>
                        <div class="indCtiy">
                             <select name="spaceId" id="formSpace" required='1' message='请选择意向空间' formParameter="clue">
                                <option selected value="0">请选择</option>
                             </select>
                        </div>
                    </li>
                    <li><label>客户来源<b>*</b></label>
                         <div class="indCtiy">
                             <select name="sourceChannelId" id="formSourceChannel" required='1' message='请选择客户来源' formParameter="clue">
                                <option selected value="0">请选择</option>
                             </select>
                        </div>
                    </li>
                    
                    <li>
                    	<label>预计入驻人数</label>
                    	<input name="peopleCount" id="formPeopleCount" formParameter="clue" placeholder="请输入预计入驻人数" type="text" class="indinput" />
                    </li>
                </ul>
            </div>
            <div class="formtitle-right">
                 <ul class="forminfo">
                    <li>
                    	<label >联系电话<b>*</b></label>
                    	<input name="contactNumber" id="formContactNumber" required='1' message='请输入联系电话' formParameter="clue" placeholder="请输入联系电话" type="text" class="indinput" />
                    </li>
   					<li>
   						<label>联系邮箱</label>
   						<input name="email" id="formEmail" formParameter="clue" placeholder="请输入联系邮箱" type="text" class="indinput" />
   					</li>
                    <li>
                    	<label>意向城市<b>*</b></label>
                        <div class="indCtiy">
                             <select name="cityId" id="formCity" required='1' message='请选择意向城市' formParameter="clue" >
                                <option selected value="0">请选择</option>
                             </select>
                        </div>
                    </li>
                    <li>
                    	<label>意向产品<b>*</b></label>
                         <div class="indCtiy">
                             <select name="productTypeId" id="formProductType" required='1' message='请选择意向产品' formParameter="clue">
                                <option value="0">请选择</option>
                             </select>
                        </div>
                    </li>
                    
                    <li>
                    	<label>预约到访时间</label>
                        <input name="visitTime" id="formVisitTime" formParameter="clue" placeholder="请选择预约到访时间" 
                        	 type="text" name="" class="indinput"/>                        
                    </li>
                    <li>
                    	<label>预计入驻时间</label>
                        <input name="enterTime" id="formEnterTime" formParameter="clue" placeholder="请选择预计入驻时间" 
                        	 type="text" name="" class="indinput"/>                        
                    </li>
                </ul>
            </div>
            
        </div>

        <div class="inbFormbody">
            <div class="formtitle"><span>客户信息</span></div>
            <ul class="forminfo">
            <li>
            	<label >客户类型</label>
				<div class="indCtiy" >
				     <select name='clientType' id="formClientType" message='请选择客户类型' formParameter="client">
				        <option value="企业" selected>企业</option>
				        <option value="个人">个人</option>
				     </select>
				</div>
            </li>       
            </ul>
            <div class="gongsi">
                <div class="formtitle-left" clientType='企业'>
                    <ul class="forminfo">
                        <li>
                        	<label >公司名称</label>
                        	<input name='companyName'  message='请输入公司名称' formParameter="client" placeholder="请输入公司名称" type="text" class="indinput" />
                        </li>
                    </ul>
                </div>
                <div class="formtitle-right" clientType='企业'>
                     <ul class="forminfo">
                        <li>
                        	<label >统一信用代码</label>
                        	<input name='companyCreditCode'  message='请输入统一信用代码' formParameter="client" placeholder="请输入统一信用代码"  type="text" class="indinput" />
                        </li>
                    </ul>
                </div>
                <ul class="forminfo" clientType='企业'>
                    <li>
                    	<label >公司住所</label>
                    	<input name='companyAddress'  message='请输入公司住所' formParameter="client" placeholder="请输入公司住所"  
                    	style="width:677px" type="text" class="indinput" />
                    </li>  
                </ul>
                <div class="formtitle-left " clientType='企业'>
                    <ul class="forminfo">
                        <li>
                        	<label >法定代表人</label>
                        	<input name='companyLegalPerson'  message='请输入法定代表人' formParameter="client" placeholder="请输入法定代表人"  
								type="text" class="indinput" />
                        </li>
                        <li>
                        	<label>实收资本</label>
                        	<input name='companyRealCapital'  message='请输入实收资本' formParameter="client" placeholder="请输入实收资本" 
                        		type="text" class="indinput" />
                        </li>
                        <li>
                        	<label>成立日期</label>
                           <input name='companyCreateDate' id="companyCreateDatec1"  message='请输入成立日期' formParameter="client" placeholder="请输入成立日期"
                           	type="text" name="" class="indinput"/>
                        </li>
                    </ul>
                </div>
                <div class="formtitle-right" clientType='企业'>
                    <ul class="forminfo">
                        <li>
                        	<label>注册资本</label>
                        	<input name='companyRegisteredCapital'  message='请输入注册资本' formParameter="client" placeholder="请输入注册资本"
								type="text" class="indinput" />
                        </li>
                        <li>
                        	<label>企业类型</label>
                            <div class="indCtiy">
                                 <select name='companyEnterpriseType'  message='请选择企业类型' formParameter="client">
                                    <option value="互联网科技" selected="selected">互联网科技</option>
													 <option value="贸易">贸易</option>
													 <option value="金融">金融</option>
													 <option value="电商平台">电商平台</option>
													 <option value="企业服务">企业服务</option>
													 <option value="软件开发">软件开发</option>
													 <option value="品牌设计">品牌设计</option>
													 <option value="营销推广">营销推广</option>
													 <option value="影视动漫">影视动漫</option>
													 <option value="其他">其他</option>
                                 </select>
                            </div>
                        </li>
                        <li>
                        	<label>主营业务</label>
                        	<input name='companyBusiness'  message='请输入主营业务' formParameter="client" placeholder="请输入主营业务"
                        		type="text" class="indinput" />
                        </li>
                    </ul>
                </div>
                <ul class="forminfo" clientType='企业'>
	                <li>
	                	<label >经营范围</label>
	                	<input name='companyBusinessScope'  message='请输入经营范围' formParameter="client" placeholder="请输入经营范围"
	                		style="width:677px" name="" type="text" class="indinput" />
	                </li> 
                </ul>
                <ul class="forminfo" style='display:none;' clientType='个人'>
                    <li>
                    	<label >会员姓名</label>
                    	<input  name='memberName'  message='请输入会员姓名' formParameter="client" placeholder="请输入会员姓名"
                    		type="text" class="indinput" />
                    </li>
                    <li>
                    	<label >会员住所</label>
                    	<input  name='memberAddress'  message='请输入会员住所' formParameter="client" placeholder="请输入会员住所"
                    		type="text" class="indinput" />
                    </li>
                    <li>
                    	<label >身份证号</label>
                    	<input name='memberIdCard'  message='请输入身份证号' formParameter="client" placeholder="请输入身份证号"
							type="text" class="indinput" />
                    </li>
                    <li>
                    	<label style="width:50px;line-height: 20px; margin-right: 36px;">拟在空间开展业务</label>
                    	<input name='memberBusiness'  message='请输入拟在空间开展业务' formParameter="client" placeholder="请输入拟在空间开展业务"
                    		type="text" class="indinput" />
                    </li>
                </ul>
                <ul class="forminfo">
					<li>
						<label >备注</label>
						<textarea name='remark'  message='请输入备注' formParameter="client" placeholder="请输入备注"
							cols="" rows="" class="langtext" style="width:677px"></textarea>
					</li>  
                </ul>
            </div>
        </div>

        <div class="inbFormbody">
            <div class="formtitle"><span>分配领取人</span></div>
            <div class="lingqu" style="display: flex;align-items: center;">
                <ul class="forminfo" style="margin:0 auto;">
                    <li style="width: 400px"><label style="margin-right: 5px;">领取人</label>
                        <div class="indCtiy">
                            <select name="processPerson"  message='请分配领取人' formParameter="clue" placeholder="请分配领取人" >
                                <option value="0" selected>请选择</option>

                            </select>
                        </div>
                    </li>
                </ul>
            </div>            
        </div>
            
		<div class="lingqu" style="margin-left: 280px;margin-top: 30px;" >
		    <input name="btnSave"  id="btnSave"  type="button" class="btn" value="确定"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		    <input name="btnCancle"  id="btnCancle"  type="button" class="btn" value="取消"/>
		
		</div>
    </div>
</div>



<div class="modal fade" id="addModal" tabindex="-1" role="dialog" aria-labelledby="addModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <h4 class="modal-title" id="myModalLabel">新增招商线索</h4>
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
            </div>
            <div class="modal-body">
            <table class="table">
			    <tbody>
			    <tr><td colspan=2><font color="red">*</font>空间名称</td></tr>
			    <tr>
				    <td colspan=2 style="padding:0px">
					     
                    <div class="vocation">
                        <select class="tlselect" name="placeProvinceSelect" id="y_province">
                            <option value="0" selected>请选择</option>
                        </select>
                    </div>

					<div class="vocation">
                        <select class="tlselect" name="placeCitySelect" id="y_city">
                            <option value="0" selected>请选择</option>
                        </select>
                    </div>
					<div class="vocation">
                        <select class="tlselect" name="spaceSelect" id="y_space">
                            <option value="0" selected>请选择</option>
                        </select>
					</div>

		            </td>
		            <td></td>
				</tr>
				<tr><td><font color="red">*</font>预约人</td><td><font color="red">*</font>客户来源</td></tr>
				<tr><td><input type="text" name="utitle" class="tlinput"  id="y_username" placeholder="请输入预约人" /></td>
				<td>
                        <select name="sourceChannelId" id="y_formSourceChannel" class="tlselect">
                           <option selected value="0">请选择</option>
                        </select>
                   </td></tr>
				<tr><td><font color="red">*</font>预约电话</td><td><font color="red">*</font>参观日期</td></tr>
			    <tr>
				    <td><input type="text" name="utitle" class="tlinput"  id="y_mobile" placeholder="请输入预约电话" /></td>
		            <td><input type="text" name="utitle" class="tlinput"  id="y_time" placeholder="请选择参观日期" /></td>
				</tr>
				</tbody>
			</table>
			</div>
            <div class="modal-footer" style="text-align:center;display: block">
             	<button type="button" id="btn-save" class="btn btn-primary">确定</button>
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
               
            </div>
        </div>
    </div>
</div>
<script>
$(function(){

	$("#addModal").on("hidden.bs.modal", function() {  
	    //$(this).removeData("bs.modal");  
	    $("#y_province").val(0);
	    $("#y_city").val(0);
	    $("#y_space").val(0);
	    $("#y_formSourceChannel").val(0);
	    $("#y_username").val("");
	    $("#y_mobile").val("");
	    $("#y_time").val("");

	    
	});  
	
	laydate.render({
		  elem: '#y_time',
		  value: new Date(),
		  min:0
		});
	laydate.render({
		  elem: '#visitTimeStart1'
		});
	laydate.render({
		  elem: '#visitTimeStart2',
		});
	laydate.render({
		  elem: '#formVisitTime',
		  type: 'datetime'
		});
	laydate.render({
		  elem: '#formEnterTime',
		  type: 'datetime'
		});
	laydate.render({
		  elem: '#companyCreateDatec1',
		});
	

	
})
</script>	
</body>
</html>
